import { request } from "@/api-services/request";

export default {
  GetWorkers() {
    return request.get<any[]>(`/Common/GetWorkers`);
  },
  StartWorker(workerName: string) {
    return request.get<any[]>(`/Common/StartWorker?workerName=${workerName}`);
  },
};
